package com.cn.stepLock.event;

import com.cn.stepLock.chain.ChainEventApplication;
import com.cn.stepLock.listener.FinishTaskListener;

/**
 * @author Aaron
 * @desc
 * @createTime 2022-02-24 8:30
 * @since
 */
public class FinishTaskEvent extends BaseEvent{
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public FinishTaskEvent(Object source) {
        super(source);
        addListener(ChainEventApplication.getEventListener(FinishTaskListener.class));
    }
}
